package net.ericaro.neojavagen.interfaces;

/**
 * <b>AnnotationTypeDeclaration</b> ::= <{@link net .ericaro .neojavagen .packages .JavadocComment JavadocComment}>? <
 * {@link net .ericaro .neojavagen .interfaces .Annotations Annotations}>? <{@link java .util .EnumSet <net .ericaro .neojavagen .interfaces .InterfaceModifier >
 * EnumSet}> "@" "interface" <{@link net .ericaro .neojavagen .types .Identifier Identifier}> <{@link net .ericaro .neojavagen .interfaces .AnnotationTypeBody
 * AnnotationTypeBody}>
 * 
 * @author eric@ericaro.net
 */
public class AnnotationTypeDeclaration extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.interfaces.InterfaceDeclaration, net.ericaro.neojavagen.interfaces.AnnotationTypeElementDeclaration {
	private net.ericaro.neojavagen.interfaces.Annotations annotations;

	private net.ericaro.neojavagen.interfaces.AnnotationTypeBody annotationTypeBody;

	private java.util.EnumSet<net.ericaro.neojavagen.interfaces.InterfaceModifier> enumSet;

	private net.ericaro.neojavagen.types.Identifier identifier;

	private net.ericaro.neojavagen.packages.JavadocComment javadocComment;

	public AnnotationTypeDeclaration(java.util.EnumSet<net.ericaro.neojavagen.interfaces.InterfaceModifier> enumSet, net.ericaro.neojavagen.types.Identifier identifier, net.ericaro.neojavagen.interfaces.AnnotationTypeBody annotationTypeBody) {
		this.javadocComment = null;
		this.annotations = null;
		this.enumSet = enumSet;
		this.identifier = identifier;
		this.annotationTypeBody = annotationTypeBody;
	}

	public AnnotationTypeDeclaration(net.ericaro.neojavagen.packages.JavadocComment javadocComment, net.ericaro.neojavagen.interfaces.Annotations annotations, java.util.EnumSet<net.ericaro.neojavagen.interfaces.InterfaceModifier> enumSet, net.ericaro.neojavagen.types.Identifier identifier, net.ericaro.neojavagen.interfaces.AnnotationTypeBody annotationTypeBody) {
		super();
		this.javadocComment = javadocComment;
		this.annotations = annotations;
		this.enumSet = enumSet;
		this.identifier = identifier;
		this.annotationTypeBody = annotationTypeBody;
	}

	public net.ericaro.neojavagen.interfaces.Annotations getAnnotations() {
		return annotations;
	}

	public net.ericaro.neojavagen.interfaces.AnnotationTypeBody getAnnotationTypeBody() {
		return annotationTypeBody;
	}

	public java.util.EnumSet<net.ericaro.neojavagen.interfaces.InterfaceModifier> getEnumSet() {
		return enumSet;
	}

	public net.ericaro.neojavagen.types.Identifier getIdentifier() {
		return identifier;
	}

	public net.ericaro.neojavagen.packages.JavadocComment getJavadocComment() {
		return javadocComment;
	}

	public void setAnnotations(net.ericaro.neojavagen.interfaces.Annotations annotations) {
		this.annotations = annotations;
	}

	public void setAnnotationTypeBody(net.ericaro.neojavagen.interfaces.AnnotationTypeBody annotationTypeBody) {
		this.annotationTypeBody = annotationTypeBody;
	}

	public void setEnumSet(java.util.EnumSet<net.ericaro.neojavagen.interfaces.InterfaceModifier> enumSet) {
		this.enumSet = enumSet;
	}

	public void setIdentifier(net.ericaro.neojavagen.types.Identifier identifier) {
		this.identifier = identifier;
	}

	public void setJavadocComment(net.ericaro.neojavagen.packages.JavadocComment javadocComment) {
		this.javadocComment = javadocComment;
	}

	@Override
	public java.lang.String toString() {
		return print(javadocComment, annotations, enumSet, "@", "interface", identifier, annotationTypeBody);
	}
}
